package com.team.kaidb.act;

import android.content.Intent;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;

import com.team.kaidb.BaseActivity;
import com.team.kaidb.R;
import com.team.kaidb.utils.TextLabel;

import butterknife.OnClick;

/**
 * 撤销支付页面
 */
public class ActivityCancelPay extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public int getLayoutId() {
        return R.layout.act_cancel_pay_lay;
    }

    @OnClick(R.id.button_cancel)
    void cancel_click(){//取消
        this.finish();
    }
    @OnClick(R.id.button_ok)
    void ok_click(){//撤销支付

        TextLabel.getInstance().setSuccessText("撤销支付成功!");
        startActivity(new Intent(context,ActivityCancelSuccess.class));
        this.finish();
    }


}
